package com.example.test.advice.第六章_枚举和注解.建议83_推荐使用枚举定义常量;

import java.util.Arrays;

public class Client {

    public static void main(String[] args) {
        Arrays.stream(Season.values()).forEach(System.out::println);
        System.out.println("最舒适的季节："+Season.getComfortableSeason());
        System.out.println("最舒适的季节："+Season.Spring.getBetterSeason());
    }
}
